package org.tgcloud.group.core.session;

import java.io.Serializable;
import java.util.List;

/**
 * Created by cloudLiu on 2015/8/6.
 */
public interface Session {

    public static String SESSION_NAME = "BIUSESSION";

    public static String SESSION_NAME_ID = "SESSIONID";

    /*获取登录用户ID*/
    int getUserId();

    short getUserType();

    /**
     * 获取sessionId
     * @return
     */
    Serializable getId();

    String getDevToken();

    List<String> getPowers();

    String getComId();
}
